/*
 * c4_exercise7.cpp
 *
 *  Created on: Sep 1, 2013
 *      Author: cyper.yin
 */

#include <iostream>
using namespace std;
int main_c4e7(int argc, char **argv) {
	struct Pizza{
		char company[30];
		float diameter;
		float weight;
	};

	Pizza p;
	cout << "Enter company:";
	cin.getline(p.company,30);

	cout << "Enter diameter:";
	cin >> p.diameter;

	cout <<"Enter weight:";
	cin >> p.weight;

	cout <<"Pizza{" << p.company <<"," << p.diameter <<", " << p.weight << "}" << endl;

	return 0;
}



